<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>免费、实时、量化选股</title>
    <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
    <script src="./papaparse.min.js"></script>
	<script src="../js/mobile-util.js"></script>
    <style>
        html,body{
            font-size: 14px;
            font-family: 'Microsoft Yahei',Tahoma,Verdana,simsun,sans-serif;
        }
        table {width: 85%;margin: 30px auto;}
    </style>
        <script>
            var _hmt = _hmt || [];
            (function () {
                var hm = document.createElement("script");
                hm.src = "https://hm.baidu.com/hm.js?265c12b2eaf2d19bc0111c37f6a619bc";
                var s = document.getElementsByTagName("script")[0];
                s.parentNode.insertBefore(hm, s);
            })();
        </script>
</head>
<body style="text-align:center;"> 
    <table id="table" border="1">
        <caption>日K-cci-kdj共振策略</caption>
        <thead>
            <tr>
                <th>分析时间</th>
                <th>代码</th>
                <th>最新价</th>
            </tr>
        </thead>
        <tbody>
        </tbody>
    </table>
    <script>
    Papa.parse('./result/day-cci-kdj.csv', {
        download: true,
        complete: function(results) {
            var data = results.data, html;
            for(var i = 0, _l = data.length; i < _l; i++) {
                var item = data[i];
                html += '<tr><td>'+item[0]+'</td><td>'+item[1]+'</td><td>'+item[2]+'</td></tr>';
            }
            $('#table tbody').append(html);
        }
    });
    </script>
</body>


</html>